#include<iostream>
using namespace std;

int main()

{ int a[10],n,i;
  cout<<"n=";
  cin>>n;

for(i=1;i<=n;i++)
{
	cout<<"a["<<i<<"]=";
	cin>>a[i];
}
cout<<"vectorul este: ";

for(i=1;i<=n;i++)
  cout<<a[i]<<" ";
cout<<endl;
cout<<"vectorul vazut in oglinda este: ";

for(i=n;i>=1;i--)
    cout<<a[i]<<" ";

}
